package cn.edu.zut.cs.DAO;

import cn.edu.zut.cs.Model.Info;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface InfoDAO {
    void insertInfo(Info info);
    void insertALL(List<Info> infoList);

    void deleteInfo(Info info);
    void deleteALL(List<Info> infoList);
    void  deleteById(String id);

    void modifyInfo(Info info);

    Info queryOneInfo(Info info);
    Info queryOneInfoById(String id);
    List<Info> queryAll();

}
